powered by
Dissimilarity between two data matrices based on the RV coefficient.
drv(y, x)
The value of the dissimilarity.
A numerical matrix.
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
The dissimilarity between the two data matrices is computed as \(\sqrt{2}\sqrt{1-RV(y, x)}\), where \(RV(y,x)\)is the RV coefficient.
Josse J., Pages J. and Husson F. (2008). Testing the significance of the RV coefficient. Computational Statistics & Data Analysis, 53(1): 82--91.
rv, sq.correl, dcor
drv( as.matrix(iris[, 1:2]), as.matrix(iris[, 3:4]) )
Run the code above in your browser using DataLab